#include "setting.h"

static Setting g_Setting;
Setting::Setting()
{
    config.open("./sys.cfg");
    syncMode = SM_SHORT;
}

Setting& Setting::Instance()
{
    return g_Setting;
}

void Setting::save()
{
    config.save();
}
